<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>my106_Split</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
body{
	padding-left: 20px;
	background: #eee;
}
.main {
	width: 780px;
	background: #fff;
	margin-left: auto;
	margin-right: auto;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
}
.btngroup {
	width: 20%;
	float: left;
	/*margin-left: auto;
	margin-right: auto;*/
}
.tplbtn {
	margin: 0 5px 5px 0;
}
.printBtnDiv {
	width: 20%;
	float: right;
}
.btnsBottom {
	position: fixed;
	left: 0;
	bottom: 10px;
	height: 20%;
	width: 20%;
	padding-left: 20px;
}
#emriframe101{
	position: fixed;
	top: -500px;
	left: 0;
	height: 450px;
	width: 700px;
}
#emriframe102{
	position: fixed;
	top: -1000px;
	left: 0;
	height: 450px;
	width: 700px;
}
.back_editor {
	position: fixed;
	top: -1500px;
	left: 0;
	height: 450px;
	width: 700px;
}
button {
	margin-top: 5px;
}
</style>
    <script type="text/javascript">
    	var his = window.his || {};
    	var ctx = his.ctx = '${pageContext.request.contextPath}';
    	his.ueditorUrl = ctx + "/ueditor1.4.3.3/";
    </script>
    <script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/ueditor1.4.3.3/ueditor.config.js?t=<%=new java.util.Date().getTime() %>"></script>
    <script type="text/javascript" charset="utf-8" src="./js/editor_api.js?t=<%=new java.util.Date().getTime() %>"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/ueditor1.4.3.3/lang/zh-cn/zh-cn.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/jslibs/jquery.min.js"></script>
</head>
<body>
<iframe id="emriframe101"></iframe>
<iframe id="emriframe102"></iframe>
<!-- Add at 2018年2月26日: 增加一个隐藏的UE -->
<div class="back_editor">
    <script id="back_editor01" type="text/plain" style="width:700px;height:450px;margin-left:auto;margin-right:auto;border:0 !important;"></script>
</div>
<h3>Frist Version</h3>
<div class="btngroup" id="btngroup">
</div>
<div class="btnsBottom">
	<button id="btnSplitAllEles">btnSplitAllEles</button>
</div>
<div class="printBtnDiv">
	<!-- <button id="printBtn101">打印</button> -->
</div>
<div class="main">
	<!--
		* http://www.css88.com/book/css/rules/!important.htm
		* !important 参考手册 
	 -->
    <script id="editor" type="text/plain" style="width:700px;height:800px;margin-left:auto;margin-right:auto;border:0 !important;"></script>
</div>

<!-- 前台等待: 参考《CSS权威指南(中文第三版)》第10章 浮动和定位 P309 -->
<div id="waitDiv" style="display:none;">
	<div style="position:fixed;top:0;left:0;right:0;bottom:0;background:#ccc;z-index:9998;opacity:0.5;"></div>
	<div style="position:fixed;width:40%;height:20%;top:40%;left:30%;z-index:9999;opacity:1;background:#00CC99;color:#fff;border-radius:10px;">
		<div style="text-align:center;width:100%;margin-top:10%;">处理中,请稍候...</div>
	</div>
</div>
<span id="span001">hello,<b id="b001">world</b>!</span>
<span id="span002">现病史:<span>患者于<b>半年余前</b>无明显诱因下出现右上腹部疼痛，</span>呈持续性闷痛，逐渐加重，<span class="emrbreak"></span>开始无伴有皮肤黄染，未呈桔黄色，无尿色变黄，无呈浓茶样改变</span>
<!-- 引入js -->
<script type="text/javascript">
	var ue = UE.getEditor('editor', {wordCount:false,elementPathEnabled:false});
	var uebak = UE.getEditor('back_editor01', {wordCount:false,elementPathEnabled:false});
</script>
<script type="text/javascript" src="./js/my101_common_tpl_ifr.js?t=<%=new java.util.Date().getTime() %>"></script>
<script type="text/javascript" src="./js/my106_Split.js?t=<%=new java.util.Date().getTime() %>"></script>
</body>
</html>